<?php
// wcf imports
require_once(WCF_DIR.'lib/page/AbstractPage.class.php');

/**
 * @author		dartgott & WCom
 * @license		
 * @package		com.wcf4you.dartgott.partner
 */

class PartnersPage extends AbstractPage {
    public $templateName = 'partners';
	public $neededPermissions = 'user.managepages.canViewPartner';

	/**
	 * @see Page::assignVariables()
	 */
    public function assignVariables() {
        parent::assignVariables();

        WCF::getTPL()->assign(array('allowSpidersToIndexThisPage' => true));
    }

	/**
	 * @see Page::show()
	 */
	public function show() {
		// mark Page as active
		require_once(WCF_DIR.'lib/page/util/menu/PageMenu.class.php');
		PageMenu::setActiveMenuItem('wcf.header.menu.partner');
		parent::show();
	}	

}
?>